LowLatencyConfig

data class LowLatencyConfig(targetLatency: Double, catchupConfig: LowLatencySynchronizationConfig, fallbackConfig: LowLatencySynchronizationConfig) : Parcelable

Configures settings for low latency playback.

Constructors

LowLatencyConfig
Link copied to clipboard
fun LowLatencyConfig(targetLatency: Double)
LowLatencyConfig
Link copied to clipboard
fun LowLatencyConfig(targetLatency: Double = 3.0, catchupConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_CATCHUP ), fallbackConfig: LowLatencySynchronizationConfig = LowLatencySynchronizationConfig( playbackRate = LowLatencySynchronizationConfig.DEFAULT_PLAYBACK_RATE_FALLBACK ))

Properties

catchupConfig
Link copied to clipboard
var catchupConfig: LowLatencySynchronizationConfig
fallbackConfig
Link copied to clipboard
var fallbackConfig: LowLatencySynchronizationConfig
targetLatency
Link copied to clipboard
var targetLatency: Double = 3.0
The target latency in seconds the player should try to reach and maintain.

Inherited functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)